package com.yxh.exception;

import com.yxh.util.APIErrorCode;

/**
 * Created by 32988 on 2018/6/2.
 */
public class WordbookException extends RuntimeException {
    private APIErrorCode code;

    public WordbookException(APIErrorCode code) {
        this.code = code;
    }

    public APIErrorCode getCode() {
        return code;
    }
}